/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author anup.s
 */
public class Logger {

    static boolean debug = true;

    public static void log(Object o, String s) {
        if (debug) {
            System.out.println(o + ":::" + s);
        }
    }

    public static void log(String s) {
        if (debug) {
            System.out.println(s);
        }
    }
    public static void printStackTrace() {
        if (debug) {
            try{throw new Exception();}catch(Exception e){e.printStackTrace();}
        }
    }
}
